home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 November
/
Macworld (1999-11).dmg
/
Updaters
/
WhiteCap 3.0.4
/
WhiteCap Source.sit
/
WhiteCap Source
/
Common
/
math
/
Headers
/
ExpressionDict.h
< prev
next >
Wrap
Text File
|
1999-07-13
|
699b
|
47 lines
#ifndef ExpressionDict_H
#define ExpressionDict_H
#include "Hashtable.h"
#include "nodeClass.h"
class FcnEntry : public nodeClass {
public:
UtilStr mName;
long mSize;
float** mFcn;
};
class ExpressionDict {
public:
ExpressionDict();
void AddVar( UtilStr& inKey, float* inPtr ) { AddVar( inKey.getCStr(), inPtr ); }
void AddVar( char* inKey, float* inPtr );
void AddFcn( char* inKey, float* inFArray[], long inSize );
float* LookupVar( const UtilStr& inName );
float** LookupFunc( const UtilStr& inName, long& outSize );
protected:
Hashtable mVarDict;
nodeClass mFcnEntries;
};
#endif